import Vue from 'vue'
import Vuex from 'vuex'

import music from './modules/music'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		music: {
			namespaced: true,
			...music
		}
	}
})

// const init = ()=>{
// 	store.dispatch('system/setSystemInfo')
// }
// init()

export default store